package com.kevis.zhunblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kevis.zhunblog.core.dto.sys.SysMenu;
import com.kevis.zhunblog.core.entities.RolePowerEntity;

import java.util.List;
import java.util.Set;

/**
 *
 */
public interface RolePowerService extends IService<RolePowerEntity> {
    List<SysMenu> getUserMenu(int roleId) ;

    Set<Integer> getRolesByUrlMenuCode(String url, String menuCode);

    Set<Integer> getRoleByPowerId(Integer powerId);
}
